package vo;

import po.*;

public class StudentVO {
	private String id;
	private String name;
	private int year;
	private Institute institute;

	public StudentVO(String id, String name, int year, Institute institute) {
		this.id = id;
		this.name = name;
		this.year = year;
		this.institute = institute;
	}

	public StudentVO(StudentPO studentPO) {
		this.id = studentPO.getId();
		this.name = studentPO.getName();
		this.year = studentPO.getYear();
		this.institute = studentPO.getInstitute();
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getYear() {
		return year;
	}

	public void setYear(int year) {
		this.year = year;
	}

	public Institute getInstitute() {
		return institute;
	}

	public void setInstitute(Institute institute) {
		this.institute = institute;
	}

}
